Fix running tests using git on systems with customized git templates
authorBjörn Steinbrink <steinbrink@saltation.de>
Tue, 5 Aug 2014 10:24:17 +0000 (12:24 +0200)
committerBjörn Steinbrink <steinbrink@saltation.de>
Tue, 5 Aug 2014 10:27:51 +0000 (12:27 +0200)
commitdd0df64031ca0f42334d51cadb4b1444e5e1a28a
tree9772aaa7c637a919553ab8d179db703b4d5ab11f
parentf23dc502fe52893e7ec90632670297c91aac5161
Fix running tests using git on systems with customized git templates

I customized my git repo template to default to the standard pre-commit
hook that checks for e.g. trailing whitespace and refuses to commit if
any trailing whitespace was found. This causes some of cargo's tests to
fail.

To be independent of the user's git template, create the repo for the
test without using any, by specifying an empty template.
tests/test_cargo_compile_git_deps.rs